Skip to main content

Get Mail

Returns all emails from the user's inbox

Options

  • Get As HTML: If checked, the message body will be returned as HTML.
    • Type: System.Boolean
  • Only Unread Messages: If checked, only unread messages are returned.
    • Type: System.Boolean
  • Order By Date: The returned messages will be ordered asc/desc
    • Type: System.Int32
    • Dropdown Options:
      • Newest First
      • Oldest First
  • Query: Query used for filtering the returned emails
    • Type: System.String
  • Top: The maximum number of emails to retrieve. By default, this is the first 50
    • Type: System.Int32

Output

  • Result: Received mail messages
    • Type: System.Collections.Generic.IEnumerable<Microsoft.Graph.Message>

Common

  • Mail Folder: The mail folder from which the messages are retrieved
    • Type: System.String
    • Required

Details

  • It must be embedded within the scope of Microsoft Office 365 to be usable.